package com.atguigu.spzx.manager.service;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.sys.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-03-19:07
 */
public interface SysRoleService {
    PageInfo<SysRole> getPage(Integer pageNum, Integer pageSize, String keyword);

    void deleteById(Integer id);

    SysRole GetRoleById(Integer id);

    void UpdateRoleById(SysRole role);

    void saveRole(SysRole role);

    List<SysRole> getRole(Long id);
}
